package ch3;

import java.util.Scanner;

public class Mixi {
	// 两个if是有隐患的
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("请输入口袋里的钱：");
		int money = in.nextInt();
		if (money > 100) {
			System.out.println("KFC一份套餐");
			money -= 70;
		}
		if (money <= 100) {
			System.out.println("LXJ一份鸡汤米线");
			money -= 20;
		}
		System.out.println("剩下" + money + "元");
	}

}
